package com.gadgets;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-09-16
 *
 */
@SpringBootApplication
@Configuration
@PropertySource(value = {
        "classpath:/config/spring-runningEnv.spring.properties",
        "classpath:/config/spring-${gadgets.running.type}-cm04.spring.properties"
})
public class GadgetsCm04Start{

    public static void main(String[] args) {
        SpringApplication.run(new Class[]{GadgetsFrameworkStart.class, GadgetsCm04Start.class},args);
    }

}
